#ifndef _IIC_H
#define _IIC_H

#include "fun.h"

void IIC_Start(void); 
void IIC_Stop(void);  
bit IIC_WaitAck(void);  
void IIC_SendAck(bit ackbit); 
void IIC_SendByte(unsigned char byt); 
unsigned char IIC_RecByte(void); 
void dac_out(u8 dat);
void write_24c02(u8 addr,u8 dat);
u8 read_24c02(u8 addr);

#endif
